home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Resources / Online / Miami / MiamiSDK / netinclude / sys / uio.h < prev   
C/C++ Source or Header  |  1997-12-04  |  443b  |  27 lines

  1. #ifndef _SYS_UIO_H_
  2. #define    _SYS_UIO_H_
  3.  
  4. #ifndef _SYS_TYPES_H
  5. #include <sys/types.h>
  6. #endif
  7.  
  8. /*
  9.  * XXX
  10.  * iov_base should be a void *.
  11.  */
  12. struct iovec {
  13.     char    *iov_base;    /* Base address. */
  14.     size_t     iov_len;    /* Length. */
  15. };
  16.  
  17. enum    uio_rw { UIO_READ, UIO_WRITE };
  18.  
  19. /* Segment flag values. */
  20. enum uio_seg {
  21.     UIO_USERSPACE,        /* from user data space */
  22.     UIO_SYSSPACE,        /* from system space */
  23.     UIO_USERISPACE        /* from user I space */
  24. };
  25.  
  26. #endif
  27.